/**
 *  应急指挥-产销一体化监测 api
 *  @module api/makeDecisionProduction
 *  @author coder
 */

// API_HOST
import {
	API_HOST
} from '@/config'

// axios
import axios from '@u/axios'

/**
 * 综采面掘进进度
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const surfaceProgress = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/productConsumeScheduling/surfaceProgress'
})

/**
 * 回风巷日进尺
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const laneProgress = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/productConsumeScheduling/laneProgress'
})

/**
 * 皮带数据
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const belt = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/productConsumeScheduling/belt'
})

/**
 * 销售情况
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const sales = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/productConsumeScheduling/sales'
})

/**
 * 当日采煤量统计
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const dailyCoal = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/productConsumeScheduling/dailyCoal'
})

/**
 * 带班人员
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const leaderInfo = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/decisioCommand/productConsumeScheduling/leaderInfo'
})